using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using YayiMgr.Ability.Docking.Commom;
using YayiMgr.Ability.Docking.CompanyApp.Dto;
using Youshow.Ace.Ability.Services;

namespace YayiMgr.Ability.Docking.CompanyApp
{
    public interface ICompanyServicer:IAbilityServicer
    {
        Task<QueryListDto<CompanyDto>> GetAllCompanys();
        Task<QueryListDto<CompanyDto>> GetCompanys(CompanyQueryDto dto);
        Task<ResponseDto<CompanyDto>> GetCompanyById(Guid Id);

        Task<ResponseDto<CompanyDto>> AddCompany(CompanyCreateDto dto);

        Task<ResponseDto<CompanyDto>> UpdateCompany(Guid Id, CompanyUpdateDto dto);

        Task DeleteCompany(Guid Id);
    }
}